package com.sx.zongzhi.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XZY on 2017/11/30.
 * 组织机构筛选
 */
public class OrganizingBean implements Serializable {

    /**
     * id : DA7D2D8986FF4729B0DBC2DD257E436C
     * name : 全国
     * isGrid : 是否网格，false:否,true:是
     * orgCode : .
     * orgProvinces : [{"id":"D1D99170583E4C309E24B640FAFCD045","name":"青海省",
     * "orgCitys":[{"id":"B58E0BD25BD2417292F39911871CEB96","name":"海西蒙古族藏族自治州",
     * "orgAreas":[{"id":"929B8D5862F34883A857791F5C9167AA","name":"德令哈市","orgCode":".1.1.1.",
     * "orgStreets":[{"id":"63213FDA2B97442C938043333D2EFE57","name":"蓄集乡","orgCode":".1.1.1.7.",
     * "orgVillages":[ {"id":"DDC6BC4B7DAF4AD8AFC3077BD094CF53","name":"乌察汗村委会","orgCode":".1.1.1.7.7.","orgFrames":[]}]},
     * {"id":"2FC6A8FDF85D47EF9C712C4CF57FC699","name":"河西街道办事处","orgCode":".1.1.1.1.",
     * "orgCode":".1.1."}],"orgCode":".1."}]
     */

    private String id;
    private String name;
    private String orgCode;
    private boolean isGrid;
    private List<OrganizingBean> orgProvinces;
    private List<OrganizingBean> orgCitys;
    private List<OrganizingBean> orgAreas;
    private List<OrganizingBean> orgStreets;
    private List<OrganizingBean> orgVillages;
    private List<OrganizingBean> orgFrames;

    public boolean isEmpty(){
        return false;
    }

    public boolean isGrid() {
        return isGrid;
    }

    public void setGrid(boolean grid) {
        isGrid = grid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public List<OrganizingBean> getOrgProvinces() {
        return orgProvinces;
    }

    public void setOrgProvinces(List<OrganizingBean> orgProvinces) {
        this.orgProvinces = orgProvinces;
    }

    public List<OrganizingBean> getOrgCitys() {
        return orgCitys;
    }

    public void setOrgCitys(List<OrganizingBean> orgCitys) {
        this.orgCitys = orgCitys;
    }

    public List<OrganizingBean> getOrgAreas() {
        return orgAreas;
    }

    public void setOrgAreas(List<OrganizingBean> orgAreas) {
        this.orgAreas = orgAreas;
    }

    public List<OrganizingBean> getOrgStreets() {
        return orgStreets;
    }

    public void setOrgStreets(List<OrganizingBean> orgStreets) {
        this.orgStreets = orgStreets;
    }

    public List<OrganizingBean> getOrgVillages() {
        return orgVillages;
    }

    public void setOrgVillages(List<OrganizingBean> orgVillages) {
        this.orgVillages = orgVillages;
    }

    public List<OrganizingBean> getOrgFrames() {
        return orgFrames;
    }

    public void setOrgFrames(List<OrganizingBean> orgFrames) {
        this.orgFrames = orgFrames;
    }
}
